package en.edu.zxj.springrabbimqdemo.constant;

/**
 * Created with IntelliJ IDEA.
 * Description：
 *
 * @author: zxj
 * @date: 2024-09-20
 * @time: 13:50:28
 */
public class Constants {
    // 工作模式
    public static final String WORK_QUEUE_NAME = "work_queue";

    // 发布订阅模式
    public static final String FANOUT_EXCHANGE_NAME = "fanout.exchange";
    public static final String FANOUT_QUEUE_NAME1 = "fanout.queue1";
    public static final String FANOUT_QUEUE_NAME2 = "fanout.queue2";

    // routing 模式
    public static final String DIRECT_EXCHANGE_NAME = "direct.exchange";
    public static final String DIRECT_QUEUE_NAME1 = "direct.queue1";
    public static final String DIRECT_QUEUE_NAME2 = "direct.queue2";

    // topic 模式
    public static final String TOPIC_EXCHANGE_NAME = "topic.exchange";
    public static final String TOPIC_QUEUE_NAME1 = "topic.queue1";
    public static final String TOPIC_QUEUE_NAME2 = "topic.queue2";

}
